
	function getContentSize() {
        var wh = document.documentElement.clientHeight;        
        var ww = document.documentElement.clientWidth;  
        var eh = 112;
        var ew = 360;
        if(wh>800){
        	eh = 112;
        	ew = 360;
        }else if(wh>600){
        	eh = 122;
        	ew = 240;
        }else if(wh>397){
        	eh = 92;
        	ew = 270;
        }
        ch = (wh - eh) + "px";
        cw = (ww - ew)+"px";
        var menuDivHeight = (wh-eh)*0.9+"px";
        document.getElementById( "contentIframe" ).style.height = ch;
        document.getElementById( "contentIframe" ).style.width = cw;
        document.getElementById( "menuDiv" ).style.height = menuDivHeight;
    }
	 window.onload = getContentSize;
     window.onresize = getContentSize;